$(function(){
	$('#cv').edatagrid({
		url:'cvManage/getCV',
		saveUrl: 'cvManage/saveCV',  
        updateUrl: 'cvManage/updateCV',  
        destroyUrl: 'cvManage/deleteCV',
        loadFilter:pagerFilter,
	});
	$('#addCV').live('click',function(){
			$('#cv').edatagrid('addRow');
	});
	$('#deleteCV').live('click',function(){
		$('#cv').edatagrid('destroyRow');
	});
	$('#saveCV').live('click',function(){
		$('#cv').edatagrid('saveRow');
	});
	$('#cancelCV').live('click',function(){
		$('#cv').edatagrid('cancelRow');
	});
	$("#cv").edatagrid("disableEditing");
});